@layout("/common/_form.html",{js:["/assets/school/classTeacherLession/classTeacherLession_edit.js"]}){

<form class="layui-form" id="classTeacherLessionForm" lay-filter="classTeacherLessionForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">班级<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="classId" name="classId" placeholder="请输入班级" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">教师<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="teacherId" lay-search="" id="teacherId">
                                <option value="">请选择本班级授课教师</option>
                                @for(item in teachers){
                                <option value="${item.id}">${item.name}</option>
                                @}
                            </select>
<!--                            <input id="teacherId" name="teacherId" placeholder="请输入教师" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">课程<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="lessionId" lay-search="" id="lessionId">
                                <option value="">请选择课程</option>
                                @for(item in LESSION){
                                <option value="${item.code}">${item.name}</option>
                                @}
                            </select>
<!--                            <input id="lessionId" name="lessionId" placeholder="请输入课程" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}